<?php

$redis = new Redis();
$redis->connect('redis', 6379);
$redis->set('key', 'demo');

var_dump($redis->get('key'));

$arr = [
    1,2,3,5,6,7,8,9
];

foreach($arr as $val) {
    echo $val . PHP_EOL;
}

